import request from '@/utils/request'

// 查询物流技术类列表
export function listLogistics(query) {
  return request({
    url: '/wfshou/logistics/list',
    method: 'get',
    params: query
  })
}

// 查询物流技术类详细
export function getLogistics(logisId) {
  return request({
    url: '/wfshou/logistics/' + logisId,
    method: 'get'
  })
}
// 查询物流类
export function ListLogId() {
  return request({
    url: '/wfshou/logistics/listAll' ,
    method: 'get'
  })
}//ymy

// 新增物流技术类
export function addLogistics(data) {
  return request({
    url: '/wfshou/logistics',
    method: 'post',
    data: data
  })
}

// 修改物流技术类
export function updateLogistics(data) {
  return request({
    url: '/wfshou/logistics',
    method: 'put',
    data: data
  })
}

// 删除物流技术类
export function delLogistics(logisId) {
  return request({
    url: '/wfshou/logistics/' + logisId,
    method: 'delete'
  })
}
